<template>
    <div class="m_right">
            <p></p>		
            
			<div class="mem_t">
            	<span class="m_num fr" style="margin-top:15px;"><a href="${ctx }/backend/Member_Modify_user.jsp">添加用户</a></span>用户列表
            </div>
            <table border="1" class="mem_tab" style="width:870px; text-align:center; margin-top:20px;" cellspacing="0" cellpadding="0">
              <tr>
                <td style="background-color:#FF4F02" >用户名称</td>
                <td style="background-color:#FF4F02" >真实姓名</td>
                <td  style="background-color:#FF4F02">性别</td>
                <td style="background-color:#FF4F02" >类型</td>
                <td  style="background-color:#FF4F02" colspan="2">操作</td>
              </tr>
               <c:forEach var="temp" items="${pagelist.list}">
              <tr id="delete${temp.id}">
                <td width="145" class="td_bg">${temp.loginName }</td>
                <td width="145">${temp.userName }</td>
                <td width="145" class="td_bg"><c:if test="${temp.sex==1}">男</c:if><c:if test="${temp.sex==0}">女</c:if></td>
                <td width="145"><c:if test="${temp.type==1}">管理员</c:if><c:if test="${temp.type==0}">用户</c:if></td>
                <td width="50" class="td_bg"><a href="${ctx}/backenduser/selByid?id=${temp.id}">修改</a></td>
                <c:if test="${temp.type==0}">
                <td width="50"><a href="javascript:del(${temp.id})">删除</a></td>
                </c:if>
              </tr>
              </c:forEach>
            </table>
            <form action="${ctx }/backenduser/selAll" method="post">
 			<input type="hidden" name="opr" value="page"/>
               <div class="pages">        	
                	<a href=""  class="p_pre">上一页</a>  
                	<a href="" class="p_pre" id="next">下一页</a>
                	<div class="total"> 共${pagelist.totalPageCount}页，</div>
                	<div class="form2">
        			<span class="text">到第</span>
       				 <input class="input J_Input" type="number" name="currPageNo"  value="${pagelist.currPageNo }" min="1" max="100" aria-label="页码输入框">
       				 <span class="text">页</span>
        			<input type="submit" class="btn J_Submit" role="button" value="确定" tabindex="0"/>
     				 </div>              	
                </div> 
               </form>      
        </div>
</template>
<style scoped>
.total { color: #999;margin-right: 280px; _display: inline;line-height: 37px;margin-top:-40px;font-size:14px}
    .form2{font-family: arial,'Hiragino Sans GB',"\5b8b\4f53",sans-serif;margin-top:-30px;margin-right:120px;font-size:14px}
   .btn {
    height: 21px;
    width: 43px;
    -webkit-border-radius: 2px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 2px;
    -moz-background-clip: padding;
    border-radius: 2px;
    background-clip: padding-box;
    border: solid 1px #ededed;
    text-align: center;
    line-height: 21px;
    cursor: pointer;
}
.input {

    border: solid 1px #ededed;
    height: 21px;
    text-align: center;
}
.J_Submit:hover{border-color:#FF4F02;}
    #next{margin-right:350px}
</style>

